package com.computergames.server.message;

import com.computergames.server.domain.MatchingType;
import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = true)
@Data
public class MatchingRequestMessage extends Message implements HasJwtToken{
    //private String username;
    //private MatchingType matchingType;
    private String jwtToken;

    public MatchingRequestMessage() {
    }

    public MatchingRequestMessage(String jwtToken) {
        this.jwtToken = jwtToken;
    }

    @Override
    public int getMessageType() {
        return MatchingRequestMessage;
    }
}
